package com.example.partyfee.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.partyfee.dto.PartyFeeCalculationDTO;
import com.example.partyfee.dto.PartyFeeQueryDTO;
import com.example.partyfee.entity.PartyFee;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface PartyFeeService {
    /**
     * 计算党费
     */
    void calculatePartyFees(PartyFeeCalculationDTO calculationDTO);

    /**
     * 分页查询党费记录
     */
    IPage<PartyFee> getPartyFees(PartyFeeQueryDTO queryDTO);

    /**
     * 导出党费记录
     */
    void exportPartyFees(PartyFeeQueryDTO queryDTO, HttpServletResponse response)
        throws IOException;
} 